0.0
NA
CVE-2023-53299
md/raid10: fix leak of 'r10bio->remaining' for recovery
Description

In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix leak of 'r10bio->remaining' for recovery raid10_sync_request() will add 'r10bio->remaining' for both rdev and replacement rdev. However, if the read io fails, recovery_request_write() returns without issuing the write io, in this case, end_sync_request() is only called once and 'remaining' is leaked, cause an io hang. Fix the problem by decreasing 'remaining' according to if 'bio' and 'repl_bio' is valid.

INFO

Published Date :

Sept. 16, 2025, 8:15 a.m.

Last Modified :

Sept. 16, 2025, 12:49 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2023-53299 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Address memory leak in raid10 recovery to prevent I/O hangs.
  • Apply the Linux kernel patch for raid10 recovery.
  • Ensure 'remaining' is decremented correctly.
  • Test recovery operations after applying the fix.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-53299 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-53299 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-53299 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-53299 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 16, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix leak of 'r10bio->remaining' for recovery raid10_sync_request() will add 'r10bio->remaining' for both rdev and replacement rdev. However, if the read io fails, recovery_request_write() returns without issuing the write io, in this case, end_sync_request() is only called once and 'remaining' is leaked, cause an io hang. Fix the problem by decreasing 'remaining' according to if 'bio' and 'repl_bio' is valid.
    Added Reference https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97
    Added Reference https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084
    Added Reference https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a
    Added Reference https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e
    Added Reference https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6
    Added Reference https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093
    Added Reference https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c
    Added Reference https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e
    Added Reference https://git.kernel.org/stable/c/cb827ed2bb34480dc102146d3a1f89fdbcafc028
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.